package com.huatai.bi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huatai.bi.entity.DataSetColumnEntity;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

/**
* @author xuzy
*/
public interface DataSetColumnMapper extends BaseMapper<DataSetColumnEntity> {

	@Select("select max(column_position) from tb_data_set_column where data_set_id = ${dtId}")
	Integer getPositionByDtId(@Param("dtId") Long dtId);
}




